<?php

namespace App\Model\Front;

use Illuminate\Database\Eloquent\Model;

class Adress extends Model
{
    protected $table = 'adress';
    /**
    * The attributes that are mass assignable.
    *
    * @var array
    */
    protected $fillable = [
        'country', 'state', 'city','pincode','fullname','user_id'
    ];

    public function user()
    {
        return $this->hasOne('App\User');
    }
}
